package commons.base.rpc.example;

import java.util.Date;
import java.util.List;
import java.util.Map;

public class HelloImpl implements Hello {

	@Override
	public String hello(String name) {
		return "hello, " + name;
	}

	@Override
	public void status() {
		System.err.println("====status====");
	}

	@Override
	public void calc(int a, int b) {
		System.err.println("a+b=" + (a+b));
	}

	@Override
	public void pp(Person p, List<Integer> list, Map<String, Long> map, Date date) {
		System.err.println(p);
		System.err.println(list);
		System.err.println(map);
		System.err.println(date);
		
	}

	@Override
	public void testException() {
		throw new RuntimeException("test exception");
	}

}
